﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdmMeassageView.aspx.cs"
    Inherits="LMS.SMSH.WEB.AdmMeassageView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="Head1" runat="server">
    <title>高校实验室网站后台管理</title>
    <style type="text/css">
        .box-3
        {
            border: 1px solid #CCCCCC;
        }
    </style>
    <script type="text/javascript" src="jQuery/jquery-1.7.1.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#Reset1").click(function () {
                $("#txtCaption").val("");
                $("#txtStudentID").val("");
                $("#txtReview").val("");
                $("#txtContent").val("");
            })
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
            <tr>
                <td height="60" bgcolor="#FFFFFF">
                    &nbsp;&nbsp;<strong>留言编辑</strong>
                </td>
            </tr>
            <tr>
                <td>
                    <table width="700" border="0" cellspacing="1" cellpadding="0">
                        <tr>
                            <td width="200" height="30" align="right" bgcolor="#FFFFFF">
                                <font size="2">留言标题</font>
                            </td>
                            <td width="500" height="30" bgcolor="#FFFFFF">
                                &nbsp;<asp:TextBox ID="txtCaption" runat="server" CssClass="box-3" Width="90%" MaxLength="50"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" bgcolor="#ffffff" height="30" width="200">
                                <font size="2">留言人ID</font>
                            </td>
                            <td bgcolor="#ffffff" height="30" width="500">
                                &nbsp;<asp:TextBox ID="txtStudentID" runat="server" CssClass="box-3" MaxLength="50"
                                    Width="90%"></asp:TextBox>
                                <br />
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtStudentID"
                                    Display="Dynamic" ErrorMessage="留言人ID是12位纯数字" ValidationExpression="^\d{12}$"
                                    ForeColor="#AA11FF"></asp:RegularExpressionValidator>
                                &nbsp;
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtStudentID"
                                    Display="Dynamic" ErrorMessage="留言人ID不能为空！" ForeColor="#AA11FF"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td width="200" height="30" align="right" bgcolor="#FFFFFF">
                                <font size="2">留言内容</font>
                            </td>
                            <td width="500" height="30" bgcolor="#FFFFFF">
                                &nbsp;<asp:TextBox ID="txtContent" runat="server" CssClass="box-3" MaxLength="50"
                                    Rows="15" TextMode="MultiLine" Width="90%" Height="120px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" bgcolor="#ffffff" height="30" width="200">
                                <font size="2">回复内容</font>
                            </td>
                            <td bgcolor="#ffffff" height="30" width="500">
                                &nbsp;<asp:TextBox ID="txtReview" runat="server" CssClass="box-3" TextMode="MultiLine"
                                    Width="90%" MaxLength="50" Rows="15" Height="120px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
                                &nbsp;&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
                                <asp:Button ID="btnOK" runat="server" Text="保存提交" OnClick="btnOK_Click" />&nbsp;<input
                                    id="Reset1" type="reset" value="重新填写" />
                                <input id="hidLeaveWordID" type="hidden" runat="server" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
